package com.office.personalOffice.nameCard.nameCardList.service;


import com.office.personalOffice.nameCard.nameCardList.pojo.OaNamecard;
import com.office.personalOffice.nameCard.nameCardList.pojo.OaNamecardlist;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpSession;
import java.util.List;


public interface IsNameCardListService {

    //根据条件查询名片夹分类
    public List<OaNamecardlist> getOaNamecardlistByOaNamecardlist(OaNamecardlist oaNamecardlist);

    //根据条件查询名片夹分类记录
    public List<OaNamecardlist> getRecordByOaNamecardlist(OaNamecardlist oaNamecardlist);

    //查看详情（查询名片夹分类里面的所有名片信息）
    public List<OaNamecard>  getAllNamecardByName(OaNamecardlist oaNamecardlist);

    //名片夹类名称验证
    public String nameYZ(OaNamecardlist oaNamecardlist,HttpSession session);

    //添加名片夹分类
    public String addNameCardList(OaNamecardlist oaNamecardlist, HttpSession session);


    //修改名片夹分类（更名）
    public String updateName(OaNamecardlist oaNamecardlist);


    //修改名片夹分类（删除即更改可用状态）
    public String delete(OaNamecardlist oaNamecardlist);


}
